import request from '@/utils/request'
import type { AxiosRequestConfig } from 'axios'

/**
 * 获取风险点数据
 * @param data
 * @param config
 * @returns
 */
export function riskPointCoverage(data, config?: AxiosRequestConfig) {
  console.log('🚀 ~ riskPointCoverage ~ data, config:', data, config)
  // return request({
  //   url: `/yztapi/cockpit/sprinkle/risk/point/coverage`,
  //   method: 'post',
  //   data,
  //   ...config,
  // })
  // 模拟返回数据
  const mockResponse = {
    status: 200,
    resultMessage: '成功',
    source: 1,
    resultBody: [
      {
        id: '1904191380971548720',
        dataType: 'risk',
        block: '设施运行',
        racetrack: '交通',
        subRacetrack: '城市隧道',
        gzLon: '106.589813000000007',
        gzLat: '29.5506489999999999',
        height: '394.245',
        riskPointLevel: 4,
        districtCode: '500108',
        riskName: '安奇建材',
        riskType: '九小场所重点管理',
      },
      {
        id: '1861518815586705409',
        dataType: 'risk',
        block: '应急动员',
        racetrack: '消防安全',
        subRacetrack: '灭火救援',
        gzLon: '106.556725',
        gzLat: '29.5787179999999985',
        height: '241.066',
        riskPointLevel: 4,
        districtCode: '500105',
        riskName: '高层建筑火灾风险点_万丰花园丰盈座（三单元）',
        riskType: '重大火灾隐患',
      },
      {
        id: '1905566235482063058',
        dataType: 'risk',
        block: '社会治理',
        racetrack: '公共安全',
        subRacetrack: '消防安全',
        gzLon: '106.577663999999999',
        gzLat: '29.5538360000000004',
        height: '233.315',
        riskPointLevel: 4,
        districtCode: '500103',
        riskName: '重庆市渝中区南纪门街道长滨大厦外立面较大安全隐患',
      },
      {
        id: '1906251775389339648',
        dataType: 'risk',
        block: '社会治理',
        racetrack: '市场监管',
        subRacetrack: '市场秩序',
        gzLon: '106.582936000000004',
        gzLat: '29.5654029999999999',
        height: '260.413',
        riskPointLevel: 3,
        districtCode: '500103',
        riskName: '朝天皓月游船舆情应急响应-交通运输安全风险',
        riskType: '码头',
      },
      {
        id: '1891427791722049549',
        dataType: 'risk',
        block: '生态景观',
        racetrack: '水环境',
        subRacetrack: '地表水质量',
        gzLon: '106.552221000000003',
        gzLat: '29.5387699999999995',
        height: '307.266',
        riskPointLevel: 4,
        districtCode: '500108',
        riskName: '年代厨卫',
        riskType: '餐饮经营场所火灾风险',
      },
      {
        id: '1861519178477887489',
        dataType: 'risk',
        block: '应急动员',
        racetrack: '消防安全',
        subRacetrack: '消防公共服务',
        gzLon: '106.534240969216512',
        gzLat: '29.5781943367588767',
        height: '276.211',
        riskPointLevel: 4,
        districtCode: '500105',
        riskName: '高层建筑火灾风险点_新华社宿舍',
        riskType: '重大火灾隐患',
      },
      {
        id: '1897867543019991040',
        dataType: 'risk',
        block: '社会治理',
        racetrack: '执法司法',
        subRacetrack: '行政检查',
        gzLon: '106.529375910758972',
        gzLat: '29.5785735547542572',
        height: '305.104',
        riskPointLevel: 4,
        districtCode: '500105',
        riskName: '观音桥商圈红鼎国际A座高坠风险点 ',
        riskType: '社会治理风险',
      },
      {
        id: '1905547921384997111',
        dataType: 'risk',
        block: '文明创建',
        racetrack: '网络生态',
        subRacetrack: '网络安全保障',
        gzLon: '106.605000000000004',
        gzLat: '29.5360000000000014',
        height: '448.274',
        riskPointLevel: 3,
        districtCode: '500108',
        riskName: '冯梅副食店九小场所重点管理风险点',
        riskType: '九小场所重点管理风险点',
      },
      {
        id: '1900390971132297221',
        dataType: 'risk',
        block: '社会治理',
        racetrack: '城市治理',
        subRacetrack: '街面秩序管理',
        gzLon: '106.537526662481895',
        gzLat: '29.5766722989190498',
        height: '312.137',
        riskPointLevel: 2,
        districtCode: '500105',
        riskName: '江北中医院风险点',
        riskType: '燃气泄露',
      },
      {
        id: '1900078430971703296',
        dataType: 'risk',
        block: '生态景观',
        racetrack: '水环境',
        subRacetrack: '黑臭水体监管',
        gzLon: '106.546718999999996',
        gzLat: '29.5550050000000013',
        height: '311.658',
        riskPointLevel: 4,
        districtCode: '500103',
        riskName: '渝中区图书馆火灾隐患风险',
        riskType: '重大火灾隐患',
      },
      {
        id: '1861518786096553985',
        dataType: 'risk',
        block: '设施运行',
        racetrack: '园林绿化',
        subRacetrack: '古树名木',
        gzLon: '106.587615005902776',
        gzLat: '29.581849221068687',
        height: '272.436',
        riskPointLevel: 4,
        districtCode: '500108',
        riskName: '高层建筑火灾风险点_弹子石街道祥和人家B3栋',
        riskType: '重大火灾隐患',
      },
      {
        id: '1905519176318124281',
        dataType: 'risk',
        block: '应急动员',
        racetrack: '安全生产监管',
        subRacetrack: '危化品安全',
        gzLon: '106.570711900000006',
        gzLat: '29.5553222200000008',
        height: '245.222',
        riskPointLevel: 4,
        districtCode: '500103',
        riskName: '宏声巷16号解放碑步行街化粪池风险点',
        riskType: '化粪池',
      },
      {
        id: '1905589613857275916',
        dataType: 'risk',
        block: '文明创建',
        racetrack: '网络生态',
        subRacetrack: '网络综合治理',
        gzLon: '106.566999999999993',
        gzLat: '29.5560000000000009',
        height: '355.121',
        riskPointLevel: 4,
        districtCode: '500103',
        riskName: '预算调整时间较晚，产生结余结转资金，影响资金使用效益',
        riskType: '地方债务违约风险',
      },
      {
        id: '1938051907058814994',
        dataType: 'risk',
        block: '经济发展',
        racetrack: '经济调节',
        subRacetrack: '国资国企监管',
        gzLon: '106.529420999999999',
        gzLat: '29.5506600000000006',
        height: '323.476',
        riskPointLevel: 4,
        districtCode: '500103',
        riskName: '长江一路灯杆019',
        riskType: '城市照明',
      },
      {
        id: '1937090145536016777',
        dataType: 'risk',
        block: '设施运行',
        racetrack: '供排水',
        subRacetrack: '水源工程',
        gzLon: '106.571562999999998',
        gzLat: '29.5576620000000005',
        height: '259.365',
        riskPointLevel: 4,
        districtCode: '500103',
        riskName: '民权路灯杆井盖068',
        riskType: '照明设施井盖',
      },
    ],
  }

  return Promise.resolve(mockResponse)
}

/**
 * 获取感知设备数据
 * @param data
 * @param config
 * @returns
 */
export function devicePointCoverage(data, config?: AxiosRequestConfig) {
  console.log('🚀 ~ devicePointCoverage ~ data, config:', data, config)
  // return request({
  //   url: `/yztapi/cockpit/sprinkle/device/point/coverage`,
  //   method: 'post',
  //   data,
  //   ...config,
  // })
  // 模拟返回数据
  const mockResponse = {
    status: 200,
    resultMessage: '成功',
    source: 1,
    resultBody: [
      {
        id: '50010300050005000008',
        dataType: 'device',
        gzLon: '106.580076',
        gzLat: '29.567373',
        height: '172.208',
        deviceRegion: 'cgq',
        deviceType: '1225',
        deviceTypeName: '水质仪（质晶电子）',
        originalDeviceCode: 'ZSaDN1pNb4d-雨水口-J-16',
        isOnline: '离线',
        tagIds: '[122, 124, 132, 337, 27, 119, 118, 407, 409, 125, 402, 91]',
        deviceName: '雨水口-J-16',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010300200006000013',
        dataType: 'device',
        gzLon: '106.568766',
        gzLat: '29.562819',
        height: '242.891',
        deviceRegion: 'cgq',
        deviceType: '1225',
        deviceTypeName: '水质仪（质晶电子）',
        originalDeviceCode: '5001030312060808',
        isOnline: '离线',
        tagIds: '[27, 122, 124, 132, 91]',
        deviceName: '污水监测器',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010300057035000007',
        dataType: 'device',
        gzLon: '106.543407',
        gzLat: '29.564468',
        height: '248.221',
        deviceRegion: 'cgq',
        deviceType: '703',
        deviceTypeName: '土壤监测传感器',
        originalDeviceCode: '2869576051021417',
        isOnline: '离线',
        tagIds: '[93, 119, 118, 122, 124, 134, 125, 137, 27, 163, 267, 287, 337, 400, 91]',
        deviceName: '土壤检测01',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010500200005000414',
        dataType: 'device',
        gzLon: '106.561597',
        gzLat: '29.579886',
        height: '268.775',
        deviceRegion: 'cgq',
        deviceType: '2506',
        deviceTypeName: '大气空气污染监测站（聚光）',
        originalDeviceCode: 'CEG22080163',
        isOnline: '在线',
        tagIds: '[27, 122, 124, 133, 87]',
        deviceName: '二十五小时',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010300206154000002',
        dataType: 'device',
        gzLon: '106.579430',
        gzLat: '29.563601',
        height: '286.381',
        deviceRegion: 'cgq',
        deviceType: '615',
        deviceTypeName: '颗粒物传感器',
        originalDeviceCode: 'ZNZSKLWCGQ002',
        isOnline: '离线',
        tagIds: '[27, 122, 124, 133, 400, 337, 91]',
        deviceName: '颗粒物传感器（小什字）',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010800107175000001',
        dataType: 'device',
        gzLon: '106.607509',
        gzLat: '29.577458',
        height: '334.962',
        deviceRegion: 'cgq',
        deviceType: '717',
        deviceTypeName: '雨量计（地质）',
        originalDeviceCode: '984007715',
        isOnline: '在线',
        tagIds: '[27, 35, 119, 118, 122, 123, 129, 124, 132, 337, 87]',
        deviceName: '北京智想北斗技术有限公司-864513040088368',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010300206161000013',
        dataType: 'device',
        gzLon: '106.546700',
        gzLat: '29.559000',
        height: '249.926',
        deviceRegion: 'cgq',
        deviceType: '616',
        deviceTypeName: '噪音传感器',
        originalDeviceCode: '500103320010',
        isOnline: '离线',
        tagIds: '[91, 122, 124, 133, 163, 203, 204, 205, 27]',
        deviceName: '七星岗',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010500210001000034',
        dataType: 'device',
        gzLon: '106.533890',
        gzLat: '29.578888',
        height: '278.912',
        deviceRegion: 'cgq',
        deviceType: '1463',
        deviceTypeName: '废水氨氮监测设备',
        originalDeviceCode: '756877100000002500006003NHN',
        isOnline: '在线',
        tagIds: '[122, 124, 132, 133, 163, 203, 204, 205, 337, 27, 87]',
        deviceName: '氨氮水质分析仪',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010300050005000021',
        dataType: 'device',
        gzLon: '106.549998',
        gzLat: '29.566709',
        height: '237.372',
        deviceRegion: 'cgq',
        deviceType: '1225',
        deviceTypeName: '水质仪（质晶电子）',
        originalDeviceCode: 'ZSaDN1pNb4d-雨水口-J-09',
        isOnline: '离线',
        tagIds: '[122, 124, 132, 337, 27, 119, 118, 407, 409, 125, 402, 91]',
        deviceName: '雨水口-J-09',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010300050005000016',
        dataType: 'device',
        gzLon: '106.557264',
        gzLat: '29.566228',
        height: '196.099',
        deviceRegion: 'cgq',
        deviceType: '1225',
        deviceTypeName: '水质仪（质晶电子）',
        originalDeviceCode: 'ZSaDN1pNb4d-雨水口-J-11溢流口-J-08',
        isOnline: '离线',
        tagIds: '[122, 124, 132, 337, 27, 119, 118, 407, 409, 125, 402, 91]',
        deviceName: '雨水口-J-11溢流口-J-08',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010300200006000012',
        dataType: 'device',
        gzLon: '106.546864',
        gzLat: '29.562835',
        height: '234.201',
        deviceRegion: 'cgq',
        deviceType: '1225',
        deviceTypeName: '水质仪（质晶电子）',
        originalDeviceCode: '5001030312060806',
        isOnline: '离线',
        tagIds: '[27, 122, 124, 132, 91]',
        deviceName: '污水监测器',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010300200006000024',
        dataType: 'device',
        gzLon: '106.544524',
        gzLat: '29.562787',
        height: '241.946',
        deviceRegion: 'cgq',
        deviceType: '1225',
        deviceTypeName: '水质仪（质晶电子）',
        originalDeviceCode: '5001030312060797',
        isOnline: '离线',
        tagIds: '[27, 122, 124, 132, 91]',
        deviceName: '污水监测器',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010500200005000410',
        dataType: 'device',
        gzLon: '106.526122',
        gzLat: '29.575931',
        height: '260.429',
        deviceRegion: 'cgq',
        deviceType: '2506',
        deviceTypeName: '大气空气污染监测站（聚光）',
        originalDeviceCode: 'CEG22050078',
        isOnline: '在线',
        tagIds: '[27, 122, 124, 133, 87]',
        deviceName: '观音桥商圈西环步行街',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010800200001000006',
        dataType: 'device',
        gzLon: '106.603100',
        gzLat: '29.535400',
        height: '466.901',
        deviceRegion: 'cgq',
        deviceType: '1477',
        deviceTypeName: '一氧化碳传感器',
        originalDeviceCode: '1035A-6',
        isOnline: '离线',
        tagIds: '[122, 124, 133, 91, 163, 203, 204, 205, 337, 27]',
        deviceName: '黄桷垭',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010300200004000048',
        dataType: 'device',
        gzLon: '106.595157',
        gzLat: '29.568875',
        height: '171.242',
        deviceRegion: 'cgq',
        deviceType: '1527',
        deviceTypeName: '水质小型标准站（聚光科技）',
        originalDeviceCode: 'YZQ-SZ-003',
        isOnline: '在线',
        tagIds: '[27, 122, 124, 132, 87]',
        deviceName: '地表水小型自动监测站（长江流域朝天门站）',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010300210001000038',
        dataType: 'device',
        gzLon: '106.542221',
        gzLat: '29.555000',
        height: '316.761',
        deviceRegion: 'cgq',
        deviceType: '1468',
        deviceTypeName: '废水流量监测设备',
        originalDeviceCode: '500100121000002500004002LD',
        isOnline: '在线',
        tagIds: '[122, 124, 132, 133, 163, 203, 204, 205, 337, 27, 87]',
        deviceName: '流量计（外科楼）',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010300200004000037',
        dataType: 'device',
        gzLon: '106.546475',
        gzLat: '29.564332',
        height: '247.3',
        deviceRegion: 'cgq',
        deviceType: '1526',
        deviceTypeName: '空气小型标准站（聚光科技）',
        originalDeviceCode: '510100002',
        isOnline: '离线',
        tagIds: '[151, 27, 122, 146, 364, 124, 133, 400, 337, 91]',
        deviceName: '小型标准空气质量监测站（三峡博物馆）',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010300200006000021',
        dataType: 'device',
        gzLon: '106.541624',
        gzLat: '29.561537',
        height: '234.513',
        deviceRegion: 'cgq',
        deviceType: '1225',
        deviceTypeName: '水质仪（质晶电子）',
        originalDeviceCode: '5001030312060800',
        isOnline: '离线',
        tagIds: '[27, 122, 124, 132, 91]',
        deviceName: '污水监测器',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010300050005000017',
        dataType: 'device',
        gzLon: '106.531194',
        gzLat: '29.551414',
        height: '348.668',
        deviceRegion: 'cgq',
        deviceType: '1225',
        deviceTypeName: '水质仪（质晶电子）',
        originalDeviceCode: 'ZSaDN1pNb4d-溢流口-J-04',
        isOnline: '离线',
        tagIds: '[122, 124, 132, 27, 119, 118, 407, 409, 125, 402, 91]',
        deviceName: '溢流口-J-04',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010300186194000022',
        dataType: 'device',
        gzLon: '106.552500',
        gzLat: '29.568900',
        height: '203.422',
        deviceRegion: 'cgq',
        deviceType: '2636',
        deviceTypeName: '流量监测传感器（多邦）',
        originalDeviceCode: '5001039001005',
        isOnline: '在线',
        tagIds: '[35, 92, 119, 118, 122, 124, 134, 123, 130, 163, 164, 19, 165, 337, 27, 131, 87]',
        deviceName: '渝中水厂5号管',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010300210001000034',
        dataType: 'device',
        gzLon: '106.550835',
        gzLat: '29.559166',
        height: '257.026',
        deviceRegion: 'cgq',
        deviceType: '1462',
        deviceTypeName: '废水COD监测设备',
        originalDeviceCode: '756877100000002500004005COD',
        isOnline: '离线',
        tagIds: '[91, 122, 124, 132, 133, 163, 203, 204, 205, 27]',
        deviceName: 'COD在线分析仪',
        groupType: '生态景观',
        isAlarm: 0,
      },
      {
        id: '50010300050005000010',
        dataType: 'device',
        gzLon: '106.585454',
        gzLat: '29.567723',
        height: '180.722',
        deviceRegion: 'cgq',
        deviceType: '1225',
        deviceTypeName: '水质仪（质晶电子）',
        originalDeviceCode: 'ZSaDN1pNb4d-雨水口-C-21',
        isOnline: '离线',
        tagIds: '[122, 124, 132, 337, 27, 119, 118, 407, 409, 125, 402, 91]',
        deviceName: '雨水口-C-21',
        groupType: '生态景观',
        isAlarm: 0,
      },
    ],
  }

  return Promise.resolve(mockResponse)
}

/**
 * 获取事件数据
 * @param data
 * @param config
 * @returns
 */
export function eventPointCoverage(data, config?: AxiosRequestConfig) {
  console.log('🚀 ~ eventPointCoverage ~ data, config:', data, config)

  // return request({
  //   url: `/yztapi/cockpit/sprinkle/event/point/coverage`,
  //   method: 'post',
  //   data,
  //   ...config,
  // })
  // 模拟返回数据
  const mockResponse = {
    status: 200,
    resultMessage: '成功',
    source: 1,
    resultBody: [
      {
        id: '1_NSSZG202508131604195608659',
        dataType: 'event',
        block: '党建统领',
        racetrack: '数字统战',
        subRacetrack: '多党合作',
        gzLon: '106.564070999999998',
        gzLat: '29.5565169999999995',
        height: '282.335',
        eventCenter: '1',
        eventLevel: '0',
        eventNum: 'NSSZG202508131604195608659',
        eventSource: '01',
        eventSourceDesc: '数字工作台',
        eventStatus: '99',
        eventStatusDesc: '已办结',
        eventTitle: '收集对统一战线培训意见建议',
        eventType: '渝中区收集侨界人士培训信息 ',
        flowId: '2025081300840007548105',
        happenTime: '2025-08-22 10:03:47',
        sourceSystemCode: 'common_event_system',
        eventAddress: '渝中区',
        eventLevelDesc: '一般',
        eventContent: '收集对统一战线培训意见建议',
      },
      {
        id: '1_NSSZG202508131603201977925',
        dataType: 'event',
        block: '党建统领',
        racetrack: '数字统战',
        subRacetrack: '多党合作',
        gzLon: '106.564070999999998',
        gzLat: '29.5565169999999995',
        height: '282.335',
        eventCenter: '1',
        eventLevel: '0',
        eventNum: 'NSSZG202508131603201977925',
        eventSource: '01',
        eventSourceDesc: '数字工作台',
        eventStatus: '99',
        eventStatusDesc: '已办结',
        eventTitle: '收集辖区可用培训阵地',
        eventType: '渝中区收集侨界人士培训信息 ',
        flowId: '2025081300840007603244',
        happenTime: '2025-08-20 16:01:34',
        sourceSystemCode: 'common_event_system',
        eventAddress: '渝中区',
        eventLevelDesc: '一般',
        eventContent: '收集辖区可用培训阵地',
      },
      {
        id: '1_NSSZG202508181142241158411',
        dataType: 'event',
        block: '设施运行',
        racetrack: '交通',
        subRacetrack: '城市隧道',
        gzLon: '106.542303000000004',
        gzLat: '29.5573429999999995',
        height: '248.938',
        eventCenter: '1',
        eventLevel: '0',
        eventNum: 'NSSZG202508181142241158411',
        eventSource: '01',
        eventSourceDesc: '数字工作台',
        eventStatus: '10',
        eventStatusDesc: '处置中',
        eventTitle: '向阳隧道应急检测',
        eventType: '渝中区城市隧道应急检测事件',
        flowId: '2025081801780007596657',
        happenTime: '2025-08-20 11:43:55',
        sourceSystemCode: 'common_event_system',
        eventAddress: '渝中区',
        eventLevelDesc: '一般',
        eventContent: '区市政维管中心计划于8月20日晚开展向阳隧道应急检测 ，占道时间约2小时。',
      },
      {
        id: '1_NSSZG202508181141329338347',
        dataType: 'event',
        block: '设施运行',
        racetrack: '交通',
        subRacetrack: '城市隧道',
        gzLon: '106.542794000000001',
        gzLat: '29.5570920000000008',
        height: '249.632',
        eventCenter: '1',
        eventLevel: '0',
        eventNum: 'NSSZG202508181141329338347',
        eventSource: '01',
        eventSourceDesc: '数字工作台',
        eventStatus: '10',
        eventStatusDesc: '处置中',
        eventTitle: '八一隧道应急检测',
        eventType: '渝中区城市隧道应急检测事件',
        flowId: '2025081801780007596654',
        happenTime: '2025-08-20 11:43:01',
        sourceSystemCode: 'common_event_system',
        eventAddress: '渝中区',
        eventLevelDesc: '一般',
        eventContent: '区市政维管中心计划于8月20日晚开展八一隧道应急检测，占道时间约2小时。',
      },
      {
        id: '1_NSSZG202508181131489258042',
        dataType: 'event',
        block: '设施运行',
        racetrack: '交通',
        subRacetrack: '城市隧道',
        gzLon: '106.542794000000001',
        gzLat: '29.5570920000000008',
        height: '249.632',
        eventCenter: '1',
        eventLevel: '0',
        eventNum: 'NSSZG202508181131489258042',
        eventSource: '01',
        eventSourceDesc: '数字工作台',
        eventStatus: '10',
        eventStatusDesc: '处置中',
        eventTitle: '八一隧道维护作业',
        eventType: '渝中区城市隧道维护作业',
        flowId: '2025081801780007633875',
        happenTime: '2025-08-20 11:32:33',
        sourceSystemCode: 'common_event_system',
        eventAddress: '渝中区',
        eventLevelDesc: '一般',
        eventContent: '区市政维管中心计划于8月20日晚开展八一隧道维护作业，占道时间约4小时。',
      },
      {
        id: '1_NSSZG202508131641409159407',
        dataType: 'event',
        block: '党建统领',
        racetrack: '数字统战',
        subRacetrack: '多党合作',
        gzLon: '106.564070999999998',
        gzLat: '29.5565169999999995',
        height: '282.335',
        eventCenter: '1',
        eventLevel: '0',
        eventNum: 'NSSZG202508131641409159407',
        eventSource: '01',
        eventSourceDesc: '数字工作台',
        eventStatus: '99',
        eventStatusDesc: '已办结',
        eventTitle: '收集相关培训教师信息',
        eventType: '收集民营企业家培训信息（渝中区）',
        flowId: '2025081300840007546353',
        happenTime: '2025-08-20 09:10:59',
        sourceSystemCode: 'common_event_system',
        eventAddress: '渝中区',
        eventLevelDesc: '一般',
        eventContent: '收集相关培训教师信息',
      },
      {
        id: '1_NSSZG202508131601504298543',
        dataType: 'event',
        block: '党建统领',
        racetrack: '数字统战',
        subRacetrack: '多党合作',
        gzLon: '106.564070999999998',
        gzLat: '29.5565169999999995',
        height: '282.335',
        eventCenter: '1',
        eventLevel: '0',
        eventNum: 'NSSZG202508131601504298543',
        eventSource: '01',
        eventSourceDesc: '数字工作台',
        eventStatus: '99',
        eventStatusDesc: '已办结',
        eventTitle: '收集相关培训教师信息',
        eventType: '渝中区收集侨界人士培训信息 ',
        flowId: '2025081300840007600801',
        happenTime: '2025-08-19 15:00:54',
        sourceSystemCode: 'common_event_system',
        eventAddress: '渝中区',
        eventLevelDesc: '一般',
        eventContent: '收集相关培训教师信息',
      },
      {
        id: '1_NSSZG202508131640120919411',
        dataType: 'event',
        block: '党建统领',
        racetrack: '数字统战',
        subRacetrack: '多党合作',
        gzLon: '106.564070999999998',
        gzLat: '29.5565169999999995',
        height: '282.335',
        eventCenter: '1',
        eventLevel: '0',
        eventNum: 'NSSZG202508131640120919411',
        eventSource: '01',
        eventSourceDesc: '数字工作台',
        eventStatus: '99',
        eventStatusDesc: '已办结',
        eventTitle: '收集当月培训施教机构',
        eventType: '收集民营企业家培训信息（渝中区）',
        flowId: '2025081300840007602538',
        happenTime: '2025-08-19 15:00:22',
        sourceSystemCode: 'common_event_system',
        eventAddress: '渝中区',
        eventLevelDesc: '一般',
        eventContent: '收集当月培训施教机构',
      },
      {
        id: '1_NSSZG202508181058458767334',
        dataType: 'event',
        block: '设施运行',
        racetrack: '交通',
        subRacetrack: '城市桥梁',
        gzLon: '106.537402999999998',
        gzLat: '29.5606180000000016',
        height: '210.36',
        eventCenter: '1',
        eventLevel: '0',
        eventNum: 'NSSZG202508181058458767334',
        eventSource: '01',
        eventSourceDesc: '数字工作台',
        eventStatus: '10',
        eventStatusDesc: '处置中',
        eventTitle: '牛角沱内三桥开展应急检测',
        eventType: '渝中区城市桥梁应急检测事件信息',
        flowId: '2025081801780007700047',
        happenTime: '2025-08-19 11:00:16',
        sourceSystemCode: 'common_event_system',
        eventAddress: '渝中区',
        eventLevelDesc: '一般',
        eventContent:
          '市政设施维护管理中心计划于2025年8月19日晚对牛角沱内三桥开展应急检测，预计占道约2小时。',
      },
      {
        id: '1_NSSZG202508181057284757299',
        dataType: 'event',
        block: '设施运行',
        racetrack: '交通',
        subRacetrack: '城市桥梁',
        gzLon: '106.537402999999998',
        gzLat: '29.5606180000000016',
        height: '210.36',
        eventCenter: '1',
        eventLevel: '0',
        eventNum: 'NSSZG202508181057284757299',
        eventSource: '01',
        eventSourceDesc: '数字工作台',
        eventStatus: '10',
        eventStatusDesc: '处置中',
        eventTitle: '牛角沱内二桥开展应急检测',
        eventType: '渝中区城市桥梁应急检测事件信息',
        flowId: '2025081801780007597193',
        happenTime: '2025-08-19 10:58:52',
        sourceSystemCode: 'common_event_system',
        eventAddress: '渝中区',
        eventLevelDesc: '一般',
        eventContent:
          '市政设施维护管理中心计划于2025年7月17日晚对牛角沱内二桥开展应急检测，预计占道约2小时。',
      },
      {
        id: '1_NSSZG202508181056340526999',
        dataType: 'event',
        block: '设施运行',
        racetrack: '交通',
        subRacetrack: '城市桥梁',
        gzLon: '106.537402999999998',
        gzLat: '29.5606180000000016',
        height: '210.36',
        eventCenter: '1',
        eventLevel: '0',
        eventNum: 'NSSZG202508181056340526999',
        eventSource: '01',
        eventSourceDesc: '数字工作台',
        eventStatus: '10',
        eventStatusDesc: '处置中',
        eventTitle: '牛角沱内一桥开展应急检测',
        eventType: '渝中区城市桥梁应急检测事件信息',
        flowId: '2025081801780007599024',
        happenTime: '2025-08-19 10:58:04',
        sourceSystemCode: 'common_event_system',
        eventAddress: '渝中区',
        eventLevelDesc: '一般',
        eventContent:
          '市政设施维护管理中心计划于2025年8月19日晚对牛角沱内一桥开展应急检测，预计占道约2小时。',
      },
      {
        id: '1_NSSZG202508181055454266998',
        dataType: 'event',
        block: '设施运行',
        racetrack: '交通',
        subRacetrack: '城市桥梁',
        gzLon: '106.537402999999998',
        gzLat: '29.5606180000000016',
        height: '210.36',
        eventCenter: '1',
        eventLevel: '0',
        eventNum: 'NSSZG202508181055454266998',
        eventSource: '01',
        eventSourceDesc: '数字工作台',
        eventStatus: '10',
        eventStatusDesc: '处置中',
        eventTitle: '牛角沱外二桥开展应急检测',
        eventType: '渝中区城市桥梁维护作业',
        flowId: '2025081801780007597168',
        happenTime: '2025-08-19 10:57:11',
        sourceSystemCode: 'common_event_system',
        eventAddress: '渝中区',
        eventLevelDesc: '一般',
        eventContent:
          '市政设施维护管理中心计划于2025年8月19日晚对牛角沱外二桥开展应急检测，预计占道约2小时。',
      },
      {
        id: '1_NSSZG202508181042283187026',
        dataType: 'event',
        block: '设施运行',
        racetrack: '交通',
        subRacetrack: '城市桥梁',
        gzLon: '106.537402999999998',
        gzLat: '29.5606180000000016',
        height: '210.36',
        eventCenter: '1',
        eventLevel: '0',
        eventNum: 'NSSZG202508181042283187026',
        eventSource: '01',
        eventSourceDesc: '数字工作台',
        eventStatus: '10',
        eventStatusDesc: '处置中',
        eventTitle: '牛角沱内三桥维护作业。',
        eventType: '渝中区城市桥梁维护作业',
        flowId: '2025081801780007629966',
        happenTime: '2025-08-19 10:43:59',
        sourceSystemCode: 'common_event_system',
        eventAddress: '渝中区',
        eventLevelDesc: '一般',
        eventContent: '渝中区市政维管中心计划于8月19日晚上，对牛角沱内三桥维护作业。',
      },
      {
        id: '1_NSSZG202508181041400286942',
        dataType: 'event',
        block: '设施运行',
        racetrack: '交通',
        subRacetrack: '城市桥梁',
        gzLon: '106.537402999999998',
        gzLat: '29.5606180000000016',
        height: '210.36',
        eventCenter: '1',
        eventLevel: '0',
        eventNum: 'NSSZG202508181041400286942',
        eventSource: '01',
        eventSourceDesc: '数字工作台',
        eventStatus: '10',
        eventStatusDesc: '处置中',
        eventTitle: '牛角沱内二桥维护作业',
        eventType: '渝中区城市桥梁维护作业',
        flowId: '2025081801780007633605',
        happenTime: '2025-08-19 10:43:07',
        sourceSystemCode: 'common_event_system',
        eventAddress: '渝中区',
        eventLevelDesc: '一般',
        eventContent: '渝中区市政维管中心计划于8月19日晚上，对牛角沱内二桥维护作业。',
      },
      {
        id: '1_NSSZG202508181040456386839',
        dataType: 'event',
        block: '设施运行',
        racetrack: '交通',
        subRacetrack: '城市桥梁',
        gzLon: '106.537402999999998',
        gzLat: '29.5606180000000016',
        height: '210.36',
        eventCenter: '1',
        eventLevel: '0',
        eventNum: 'NSSZG202508181040456386839',
        eventSource: '01',
        eventSourceDesc: '数字工作台',
        eventStatus: '10',
        eventStatusDesc: '处置中',
        eventTitle: '牛角沱内一桥维护作业。',
        eventType: '渝中区城市桥梁维护作业',
        flowId: '2025081801780007633601',
        happenTime: '2025-08-19 10:42:09',
        sourceSystemCode: 'common_event_system',
        eventAddress: '渝中区',
        eventLevelDesc: '一般',
        eventContent: '渝中区市政维管中心计划于8月19日晚上，对牛角沱内一桥维护作业。',
      },
      {
        id: '1_GA11957364106822459392',
        dataType: 'event',
        block: '社会治理',
        racetrack: '公共安全',
        subRacetrack: '社会治安',
        gzLon: '106.567072',
        gzLat: '29.536437',
        height: '-999',
        eventCenter: '1',
        eventLevel: '0',
        eventNum: 'GA11957364106822459392',
        eventSource: '0313',
        eventSourceDesc: '情指行全民反诈应用',
        eventStatus: '10',
        eventStatusDesc: '处置中',
        eventTitle: '预警劝阻',
        eventType: '全民反诈/预警劝阻',
        flowId: '2025081802530007639684',
        happenTime: '2025-08-18 16:50:53',
        sourceSystemCode: 'public_security_system',
        eventAddress: '南坪街道',
        eventLevelDesc: '一般',
        eventContent:
          '姓名:李洋;性别:男;年龄:24;出生日期:20001029;电话号码:18623148200;预警原因:接到了诈骗电话，疑似其他类型诈骗。协同发起单位：渝北区木耳派出所，协同民警姓名：蔡海强，协同民警电话：18223903155，工作要求：该人被骗风险较高，要求镇街协同宣传;分发三级平台时间:2025-08-18 16:49:04.0;预警地址:重庆市南岸区南坪镇南湖路34号2幢7-5,2EB36EAC-B766-662E-D914-7209B8A6665F',
      },
      {
        id: '1_GA11957364182793895936',
        dataType: 'event',
        block: '社会治理',
        racetrack: '公共安全',
        subRacetrack: '社会治安',
        gzLon: '106.530636',
        gzLat: '29.564565',
        height: '-999',
        eventCenter: '1',
        eventLevel: '0',
        eventNum: 'GA11957364182793895936',
        eventSource: '0313',
        eventSourceDesc: '情指行全民反诈应用',
        eventStatus: '10',
        eventStatusDesc: '处置中',
        eventTitle: '预警劝阻',
        eventType: '全民反诈/预警劝阻',
        flowId: '2025081802530007640168',
        happenTime: '2025-08-18 16:50:52',
        sourceSystemCode: 'public_security_system',
        eventAddress: '华新街街道',
        eventLevelDesc: '一般',
        eventContent:
          '姓名:周成秀;性别:女;年龄:71;出生日期:19540720;电话号码:15340596736;预警原因:登录了诈骗网站，疑似杀猪盘类诈骗。协同发起单位：万州区百安坝派出所，协同民警姓名：牟伦辉，协同民警电话：13628421112，工作要求：反诈宣传;分发三级平台时间:2025-08-18 16:49:22.0;预警地址:重庆市江北区江建村160号9-5,A9438D3C-DD85-A94D-947E-6FC01133AD97',
      },
      {
        id: '1_NSSZG202508181651086022386',
        dataType: 'event',
        block: '应急动员',
        racetrack: '国防动员',
        subRacetrack: '工程防护安全',
        gzLon: '106.545668',
        gzLat: '29.554950',
        height: '-999',
        eventCenter: '1',
        eventLevel: '0',
        eventNum: 'NSSZG202508181651086022386',
        eventSource: '01',
        eventSourceDesc: '数字工作台',
        eventStatus: '10',
        eventStatusDesc: '处置中',
        eventTitle: '关于渝中区两路口街道两5号人防工程安全隐患前期处置的通知',
        eventType: '渝中区人防工程安全隐患前期处置',
        flowId: '2025081801190007701707',
        happenTime: '2025-08-18 16:50:05',
        sourceSystemCode: 'common_event_system',
        eventAddress: '渝中区',
        eventLevelDesc: '一般',
        eventContent:
          '为保障安全，开展人防工程安全检查，确定两路口街道两5号人防工程存在一定安全隐患',
      },
    ],
  }

  return Promise.resolve(mockResponse)
}

export function getIconList() {
  return request({
    url: `/yztapi/cockpit/map/mapElementCategory/getIconList`,
    method: 'get',
  })
}
